﻿package cgs.server.abtesting
{

    public class ABTesterConstants extends Object
    {
        public static const AB_TEST_URL_LOCAL:String = "";
        public static const AB_TEST_URL_DEV:String = "";
        public static const AB_TEST_URL:String = "";
        public static const CREATE_TEST:String = "abtest/set/";
        public static const EDIT_TEST:String = "abtest/edit/";
        public static const REQUEST_ALL_TESTS:String = "abtest/request/";
        public static const REQUEST_TESTS_BY_ID:String = "abtest/requesttestsbyid/";
        public static const REQUEST_TEST_STATS:String = "teststatus/requestteststats/";
        public static const REQUEST_TEST_CONDITIONS:String = "abtest/requesttestconditions/";
        public static const REQUEST_CONDITION_VARIABLES:String = "abtest/requestconditionvariables/";
        public static const GET_USER_CONDITIONS:String = "userconditions/request/";
        public static const NO_CONDITION_USER:String = "userconditions/nocondition/";
        public static const LOG_TEST_START_END:String = "teststatus/set/";
        public static const LOG_CONDITION_RESULTS:String = "conditionresults/set/";
        public static const REQUEST_TEST_QUEUE_TESTS:String = "queue/requesttests/";
        public static const REQUEST_ACTIVE_TEST_QUEUE:String = "queue/requestactivetests/";
        public static const DEACTIVATE_TEST:String = "abtest/deactivate/";
        public static const STOP_TEST:String = "abtest/stop";
        public static const ACTIVATE_TEST:String = "abtest/activate/";
        public static const REQUEST_USER_COUNT:String = "userconditions/usercount/";
        public static const USERS_CONDITIONS_REQUEST:String = "userconditions/requestusers/";
        public static const USERS_TEST_RESULTS_REQUEST:String = "conditionresults/requestresultsbyuid/";
        public static const REQUEST_TEST_RESULTS_BY_ID:String = "testresults/getbyids/";
        public static const LOAD_TEST_RESULTS:String = "testresults/load/";
        public static const RELOAD_TEST_RESULTS:String = "testresults/reload/";
        public static const LOAD_USER_RESULTS_DATA:String = "testresults/retrieve/";
        public static const LOAD_TEST_RESULTS_STATUS:String = "testresults/getstatus/";
        public static const LOAD_TEST_RESULTS_STATUS_BY_IDS:String = "testresults/getstatusbyids/";
        public static const CANCEL_TEST_RESULTS:String = "testresults/cancel/";
        public static const REQUEST_CUSTOM_RESULTS:String = "testresults/getcustom/";
        public static const CREATE_CUSTOM_RESULTS:String = "testresults/createcustom/";
        public static const EDIT_CUSTOM_RESULTS:String = "testresults/editcustom/";
        public static const DELETE_CUSTOM_RESULTS:String = "testresults/deletecustom/";

        public function ABTesterConstants()
        {
            return;
        }// end function

        public static function getGameABTestingURL(param1:String) : String
        {
            return "http://" + param1 + ".ws.centerforgamescience.com/cgs/apps/abtest/ws/index.php/";
        }// end function

    }
}
